package com.title4;

/**
 * @Author milian
 * @Date 2021/8/10 0010 20:30
 */
public class Person {
    private String name;
    int age;
    private Person(int age){
        this.age = age;
    }

    public void eat(String dx){
        System.out.println(name + "开始吃" + dx + "了");
    }

    private String getName() {
        return name;
    }
}
